//
//  MCScrollPageView.h
//  MClient
//
//  Created by  崔玉国 on 10-9-26.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface MCScrollPageView : UIView <UIScrollViewDelegate>{
	UIScrollView		*_scrollView;
	UIPageControl		*_controlPage;
	UIImageView			*_slideBarImage;	// 滑动条图片
	// 控制页面滑动切换的标志
	Boolean				_pageChangeFlag;
	// 功能页面列表
	NSMutableArray		*_pagesArray;
}

// set pages with UIViewController array
- (void)setPages:(NSArray *)pagesArray;
- (NSArray*)getPageArray;
- (void)viewWillAppear:(BOOL)animated;
- (void)viewDidAppear:(BOOL)animated;
- (void)viewWillDisappear:(BOOL)animated;
- (UIView *)currentViewController;

@end
